package com.baida.retail.tasksystem.mapper.ext;

import com.baida.retail.tasksystem.entity.User;
import com.baida.retail.tasksystem.mapper.UserMapper;

import java.util.List;

public interface UserMapperExt extends UserMapper {
    List<User> selectOnlineUsersBy(int repoId, int role);

    User selectByMobile(String mobile);

    User selectByToken(String token);

    List<User> getAll();
}
